import { login } from './login'
import { userInfo, editProfile } from './user'

import { editAvatar, followUser, unfollowUser } from './user'
import { channels, channelsAll, addChannel, delChannel } from './channel' //用户频道列表
import { articleList } from './article' //新闻列表列表
import { articleInfo, zan, unzan, unlike, cancelUnlike } from './article' //文章详情
import { cmtList, sendCmt, } from './comment' //评论
import { suggest, getHistory, getSearchResult } from './search' //搜索


export const cancelUnlikeAPI = cancelUnlike //取消点不喜欢
export const unlikeAPI = unlike //点不喜欢
export const unzanAPI = unzan //取消点赞
export const zanAPI = zan //点赞
export const unfollowUserAPI = unfollowUser //取关
export const followUserAPI = followUser //关注
export const getSearchResultAPI = getSearchResult //真正搜索结果
export const getHistoryAPI = getHistory //历史记录
export const suggestAPI = suggest //新增搜索(联想数据)
export const delChannelAPI = delChannel //新增频道接口 
export const addChannelAPI = addChannel //新增频道接口 
export const channelsAllAPI = channelsAll //所有频道接口 
export const sendCmtAPI = sendCmt //回复评论（评论子机）
export const cmtListAPI = cmtList //评论
export const articleInfoAPI = articleInfo //文章详情
export const articleListAPI = articleList //新闻列表列表
export const channelsAPI = channels //用户频道列表
export const editAvatarAPI = editAvatar //编辑用户照片资料接口
// 暴露login接口
export const loginAPI = login


export const userInfoAPI = userInfo
export const editProfileAPI = editProfile